package com.seedwill.common.meta.base;

import com.seedwill.common.meta.IStringContextSupport;

/**
 * 抽象实体
 * 
 * @author kdyi
 *
 */
public abstract class AEntity implements java.io.Serializable , Cloneable, IStringContextSupport  {
	
	/* (non-Javadoc)
	 * @see java.lang.Object#clone()
	 */
	public Object clone() throws CloneNotSupportedException {
		 AEntity  o = null;
		  try {
			o = (AEntity) super.clone();
		} catch (CloneNotSupportedException e) {
			throw e;
		}
		return o;
	 }
	
	/**
	 * 上下文字符串
	 */
	private String _contextStr;
	
	/* (non-Javadoc)
	 * @see com.seedwill.common.meta.IStringContextSupport#getContextStr()
	 */
	public String getContextStr() {
		return _contextStr;
	}
	
	/* (non-Javadoc)
	 * @see com.seedwill.common.meta.IStringContextSupport#setContextStr(java.lang.String)
	 */
	public void setContextStr(String str){
		_contextStr = str;
	}
}